<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
?>

<!--//current -->
<br/>
<div class="form-login">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>
    <fieldset>
        <div class="row">
        <legend><h3>Login:</h3></legend>
        </div>
	<div class="row">
		<?php echo $form->labelEx($model,'username'); ?>
		<?php echo $form->textField($model,'username'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password'); ?>
	</div>
        <div class="row">
                 <?php
                    $this->widget('zii.widgets.jui.CJuiButton', array(
                    'buttonType' => 'submit',
                    'name' => 'btnSubmit',
                    'value' => '1',
                    'caption' => '   Entrar   ',
                    'htmlOptions' => array('class' => 'ui-button-primary')
                )); ?>
	</div>
        <br/><br/>
    	<div class="row rememberMe">
		<?php echo $form->checkBox($model,'rememberMe'); ?>
		<?php echo $form->label($model,'rememberMe'); ?>
        </div>
        </fieldset>
    
    <br/><br/><br/><br/><br/>
    
<?php $this->endWidget(); ?>
</div><!-- form -->
